diff-eq-simulations

About

A shiny app which simulates a pendulum by numerically iterating through the governing differential equation. The purpose was to further understand differential equations by replicating the animations created by the YouTube channel, 3Blue1Brown. Being a shiny app, it allows users to adjust the parameters shown in the video and see how it changes the vector field and the resulting pendulum simulation.

Below is an image of the app.

Setup

Requires latest CRAN version of gganimate.

Should only require one customization: The path_to_folder variable at the top of ui.R should be changed to an existing directory on your machine. This directory will temporarily hold the gifs.